package com.yuanrui.subject.infra.basic.entity;

/**
 * 题目信息表(SubjectInfo)实体类
 */
public class EsSubjectFields {
    public static final String DOC_ID = "doc_id";

    public static final String SUBJECT_ID = "subject_id";

    public static final String SUBJECT_NAME = "subject_name";

    public static final String SUBJECT_ANSWER = "subject_answer";

    public static final String CREATED_USER = "created_user";

    public static final String CREATED_TIME = "created_time";

    public static final String SUBJECT_TYPE = "subject_type";

    public static final String KEYWORD = "keyword";

    public static final String SCORE = "score";

    /**
     * 说明哪些子段可以根据关键字来搜索
     */
    public static final String[] FIELDS = new String[]{
            DOC_ID, SUBJECT_ID, SUBJECT_NAME, SUBJECT_ANSWER, CREATED_USER, CREATED_TIME, SUBJECT_TYPE, KEYWORD, SCORE
    };

}
